<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/htmL1/DTD/xhtml1-transitional.dtd">

<!--
/***********************************************
* 파일명   	: attendFinishListAjax.jsp
* 기  능      	: 근태관리 마감
* 최초 작성일 	: 2009/04/14
* @author 	: Yang D
*************************************************
-->
<html>
<head>

</head>
<body >
    <!----------Tbl_info & Table box ------>
    <div id="tbl_info_box">
	    <ul><li class="txt"><b>조회 건수 :</b><s:property value="rowCount"/> 건</li></ul>
    </div>
    <br />
	<s:hidden name="rowCount" 	id="rowCount" 	/>
	<s:hidden name="msg" 		id="msg" 		/>
	
		<table class="admininfo_tbl">
			<tr>
				<th><input type="checkbox" id="selectALL" name="selectALL" alt="전체선택" title="전체선택" onclick="fnc_selectAll(this.form)" /></th>
				<th>마감일자</th>
				<th>확인완료여부</th>
				<th>마감여부</th>
			</tr>
			<s:if test="rowCount == 0">
					<tr><td colspan="4">조회된 데이터가 없습니다.</td></tr>
					<script>
						alert("조회된 데이터가 없습니다.");
					</script>
				</s:if>
				<s:else>
				<s:iterator value="list" status="row" >
					<tr>
						<!-- <td><input type="checkbox" name="s_chk" id="s_chk" value="<s : property value="#row.index"/>" <s : if test='confirm_yn == "N"'>disabled="disabled"</s : if> /></td> -->
						<td><input type="checkbox" name="s_chk" id="s_chk" value="<s:property value="#row.index"/>" /></td>
						<td><a href="#" onclick="return fnc_attendManager('<s:property value="yyyymmdd" 	/>')"><s:property value="yyyymmdd" 	/></a> <s:hidden id="yyyymmdd" 	name="yyyymmdd" 	/></td>
						<td><s:if test='confirm_yn == "Y"'><span style="font-weight: bold;color: #0000ff;"><s:property value="confirm_yn" 	/></font></s:if><s:else><s:property value="confirm_yn" 	/></s:else> <s:hidden id="confirm_yn" name="confirm_yn" 	/></td>
						<td><s:if test='close_yn == "Y"'><span style="font-weight: bold;color: #0000ff;"><s:property value="close_yn" 	/></font></s:if><s:else><s:property value="close_yn" 	/></s:else><s:hidden id="close_yn" 	name="close_yn" 	/></td>
					</tr>
				</s:iterator>
				</s:else>

		</table>
		<!----------Tbl_info & Table box ------>
		<!-- 페이징 Start -->
		<div class="pagination" >
		   <s:property value="pDao.html" escape="false"/>
		</div>
    	<!-- // 페이징 End -->
</body>
<script src="inc/js/ajaxCommon.js"></script>
</html>